﻿Imports Runa.Resources.ContentManagers
Imports Runa.UI.Input
Imports Microsoft.Xna.Framework
Imports Microsoft.Xna.Framework.Graphics
Imports System.IO.IsolatedStorage
Imports Runa.Foundation.IO
Imports Runa.UI.Controls
Imports Runa.Foundation.Runtime.Serialization
Imports System.IO

Partial Public Class GameRender

    Private m_appSettings As IsolatedStorageSettings = IsolatedStorageSettings.ApplicationSettings()
    Private m_physicalStorage As GameDirectory

    Private m_GPUAccelerationEnabled As Boolean = False

    Private m_gameName As String
    Private m_gameLoaded As Boolean = False
    Private m_screenShotGotton As Boolean = False
    Private m_contentManager As GameDirectoryContentManager

    Private m_mouseInputHandler As MouseInputHandler
    Private m_keyboardInputHandler As KeyboardInputHandler

    Private m_Serializer As New Serializer(SerializationType.XML)

    Private ReadOnly Property SaveDataFileName() As String
        Get
            Return Path.Combine(Me.GameContentRoot, "Save.dat")
        End Get
    End Property

#If FEATURE_TOUCH Then
    Private m_touchPadInputHandler As TouchPadInputHandler
#End If

    Private WithEvents m_graphics As GraphicsDeviceManager

End Class